package com.foreknow.demo2;

import java.util.Scanner;

/**
 * 单条件分支
 */
public class ControlDemo1 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入学生的成绩: ");
        int score = input.nextInt();
        if (score > 98){
            System.out.println("very good......");
        }
        System.out.println("程序执行完毕......");
    }
}
